/*
 * Licensed under the License, Version 1.0 (the "License");
 * You may obtain a copy of the License at
 *   http://www.heavenick.com/license/License 
 * Copyright information Heavenick to all.
 * Unless the applicable legal requirements or written 
 * consent, can use or around the code, and no warranties 
 * of any kind and state responsibility.
 */
package com.heavenick.app.model.pojo;

import java.util.Date;
import java.util.List;

import com.heavenick.core.model.IPojo;
import com.heavenick.core.model.annotation.ModelPrimaryKey;
import com.heavenick.core.model.annotation.ModelProperty;

/**
 * 
 * @author Heavenick
 * @version 1.0
 * @date 2012-8-5 下午10:35:15
 */

public class Simple extends IPojo{
	
	private static final long serialVersionUID = 8585678383879205636L;
	
	@ModelPrimaryKey
	private Integer id;
	private String name;
	private String age;
	private String sex;
	private Long number;
	private Float win;
	private Double avg;
	private boolean isCompliance;
	private Byte isdelete;
	private Short sts;
	@ModelProperty(defaultValue = "sysdate",update=false)
	private Date Create_date;
	@ModelProperty(defaultValue = "sysdate")
	private Date Update_date;
	
	
	@ModelOne2Many()
	private List<Limits> limitsList;
	
	private pr_city city;

	public boolean isCompliance() {
		return isCompliance;
	}

	public void setCompliance(boolean isCompliance) {
		this.isCompliance = isCompliance;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAge() {
		return age;
	}

	public void setAge(String age) {
		this.age = age;
	}

	public Long getNumber() {
		return number;
	}

	public void setNumber(Long number) {
		this.number = number;
	}

	public Float getWin() {
		return win;
	}

	public void setWin(Float win) {
		this.win = win;
	}

	public Double getAvg() {
		return avg;
	}

	public void setAvg(Double avg) {
		this.avg = avg;
	}

	public Byte getIsdelete() {
		return isdelete;
	}

	public void setIsdelete(Byte isdelete) {
		this.isdelete = isdelete;
	}

	public Short getSts() {
		return sts;
	}

	public void setSts(Short sts) {
		this.sts = sts;
	}

	public Date getCreate_date() {
		return Create_date;
	}

	public void setCreate_date(Date create_date) {
		Create_date = create_date;
	}

	public Date getUpdate_date() {
		return Update_date;
	}

	public void setUpdate_date(Date update_date) {
		Update_date = update_date;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

}